//
//  LDSpritesheet.h
//  cliptest
//
//  Created by James Tong on 02/06/2010.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Texture2D.h"
#import "LDSprite.h"

enum {
	SSUNKNOWN, SSBEGIN, SSEND, SSFILENAME, SSOTHER
};

@interface LDSpritesheet : NSObject   {
	FILE	*fp;
	char	buf[512];
	
	NSMutableArray *spritesheetArray;
	NSString *_filename;
}

- (NSMutableArray *) loadWithDescriptionFile : (NSString *)fname;
- (int) parseDescription : (char *) s;
@end
